/*
 * Copyright (C) 2024 ~ 2025 Deepin Technology Co., Ltd.
 *
 * Author:     zhangbingyi <zhangbingyi@uniontech.com>
 *
 * Maintainer: zhangbingyi <zhangbingyi@uniontech.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#pragma once

#include <QMap>

#define DEEPIN_DEFENDER_GSETTING_PATH "com.deepin.dde.deepin-defender" // 安全中心gsetting路径
#define AUTO_SCAN_USB "auto-scan-usb" // USB自动检测配置项
#define CLOSE_TYPE "close-type" // 主界面关闭方式配置项
#define ASK_TYPE "ask-type" // 主界面退出询问弹框配置项
#define NET_CONTROL_ON_OFF "net-control-on-off" // 联网管控总开关配置项
#define REM_CONTROL_ON_OFF "rem-control-on-off" // 远程访问总开关配置项
#define REM_REGISTER_ON_OFF "rem-register-on-off" // 远程登陆端口配置项
#define DATA_USAGE_ON_OFF "data-usage-on-off" // 流量监控配置项
#define NET_CONTROL_APPS_STATUS "net-control-apps-status" // 联网管控所有应用状态配置项
#define REM_CONTROL_DEFAULT_STATUS "rem-control-default-status" // 远程访问默认状态配置项
#define CLEANER_LAST_TIME_CLEANED "cleaner-last-time-cleaned" // 垃圾清理-上次清理大小
// 首页体检
#define LAST_CHECK_TIME "last-check-time" // 上次体检时间
#define SAFETY_SCORE "safety-score" // 上次体检得分
#define IGNORE_AUTO_START_CHECKING "ignore-auto-start-checking" // 是否忽略检测自启动项
#define IGNORE_DEV_MODE_CHECKING "ignore-dev-mode-checking" // 是否忽略检测开发者模式项
// 病毒查杀
#define VIRUS_ENGIN_TYPE "virus-engin-type" // 病毒引擎类型
#define RISING_LOCAL_VERSION "rising-local-version" // 瑞星引擎本地版本
#define RISING_SERVER_VERSION "rising-server-version" // 瑞星引擎服务器版本
#define AH_LOCAL_VERSION "ah-local-version" // 安恒引擎本地版本
#define LAST_SCAN_TIME "last-scan-time" // 病毒配置项-上次扫描时间
#define CURRENT_VERSION "current-version" // 病毒配置项-当前版本
#define DEFENDER_INSTALL_TIME "defender-install-time" // 病毒配置项-安装时间
#define USB_STORAGE_DEVICES_TYPE "usb-storage-devices-type" // usb存储设备保护配置项-
#define RIGHT_SCAN_VISABLE "right-virus-scan-visable" // 右键病毒扫描
#define RIGHT_SCAN_VISABLE_FOR_SRV_EDITION "right-virus-scan-visable-for-srv-edition" // 服务器版右键病毒扫描是否可见
#define VIURS_SCAN_SIZE "virus-scan-size" // 病毒扫描大小设置
#define EXECUTE_SCAN_SIZE "execute-scan-size" // 是否执行扫描大小设置
#define SHOW_SCAN_SIZE "show-scan-size" // 设置表中的数据
#define EXECUTE_VRIUS_UPDATE_ADDRESS "execute-vrius-update-address" // 是否使用病毒升级地址
#define VRIUS_UPDATE_ADDRESS "vrius-update-address" // 设置病毒升级地址
#define VRIUS_UPDATE_ADDRESS_DEFAULT "vrius-update-address-default" // 设置默认病毒升级地址
#define VRIUS_LAST_TYPE "vrius-last-type" // 病毒引擎上一次类型
#define VRIUS_ADDRESS_CHANGHE "update-address-change" // 病毒地址是否改变
#define VIRUS_AUTO_UPDATE_STATUS "auto-update-virus-status" // 病毒库自动升级状态
// 登录安全
#define PWD_LIMIT_LEVEL "pwd-limit-level" // 密码限制等级
#define PWD_CHANGE_DEADLINE_TYPE "pwd-change-deadline-type" // 密码修改截止时间类型
// 定时扫描
#define TIMER_SCAN_SWITCH "timer-scan-switch" // 定时扫描总开关状态
#define TIMER_SCAN_TYPE "timer-scan-type" // 定时扫描类型
#define TIMER_SCAN_TIME "timer-scan-time" // 定时扫描时间点
#define TIMER_SCAN_HANDLE "timer-scan-handle" // 定时扫描处理方式

// usb管控 "need-import-preview-ver-usb-conf"
#define USB_STORAGE_LIMIT_MODE "usb-storage-limit-mode" // usb存储设备管控模式
#define USB_STORAGE_CONN_LOG_SWITCH "usb-storage-conn-switch" // usb存储设备连接日志开关
#define USB_STORAGE_WHITELIST "usb-storage-whitelist" // usb存储设备管控白名单
#define USB_STORAGE_NEED_IMPORT_PRE_VER_CONF "need-import-preview-ver-usb-conf" // 是否需要迁移老版usb安全配置
#define USB_STORAGE_GLOBAL_PERM_MODE "usb-storage-global-perm-mode" // usb存储设备全局权限模式
#define USB_STORAGE_NEED_UPDATE_USB_CONF_TO_SYS "need-upate-usb-conf-to-sys" // 是否需要usb存储安全配置同步到系统服务

// 防火墙
#define SETTING_KEY_NEED_LOAD_FIREWALL_PRESET "need-load-firewall-preset" // 是否需要加载防火墙初始数据
#define FIREWALL_SWITCH "firewall-switch" // 开关
#define FIREWALL_POLICY_TYPE "firewall-policy-type" // 模式
#define FIREWALL_STATUS "firewall-status" // 状态

// 等保
#define SYSTEM_SAFE_LEVEL "system-safe-level" // 系统安全等级
#define SYSTEM_SAFE_LEVEL_SHOW "system-safe-level-show" // 系统安全等级显示

//日志级别
#define LOG_SAVE_LEVEL "log-save-level"

// 节能开关状态
#define AV_SCOPE_STATUS "anti-virus-cpu-limit-status"

// 外设管理
#define PERIPHERALS_MANAGE_USB_STATUS "peripherals-manage-usb-status"
#define PERIPHERALS_MANAGE_CAMERA_STATUS "peripherals-manage-camera-status"
#define PERIPHERALS_MANAGE_PRINTER_STATUS "peripherals-manage-printer-status"
#define PERIPHERALS_MANAGEMENGT_WIDGET_SHOW "peripherals-management-widget-show" // 外设管控入口显示
